package com.youyou.mapper;

import com.youyou.entity.Account;

public interface AccountMapper {
    //添加Account记录
    public boolean addAccount(Account account);
    //获取一条Account记录
    public  Account getAccountById(Integer id);
    //通过姓名查找
    public  Account getAccoutnByUserName(String userName);
    //修改记录
    public  boolean updateAccount(Account account);
    //通过id删除
    public  boolean deleteAccoutnById(Integer id);
    //通过卡号删除
    public  boolean deleteAccountBycarsNo(String carsNo);

}
